<template>
    <div class="edu-page-warp">
        <el-card shadow="never" body-style="padding: 24px;">
            <template>
                <schemePreview
                    :template-id="templateId"
                    :is-read="isRead"
                    :id="id"
                    :data-type="dataType"
                    :schoolTerms="schoolTerms"
                />
            </template>
        </el-card>
    </div>
</template>

<script>
import schemePreview from "./schemePreview";
export default {
    name: "bcl-culture-template-detail",
    components: {
        schemePreview
    },
    data() {
        return {
            projId: "",
            schoolTerms: "",
            id: null, // 新建模板为空，编辑模板时保存模板id
            isRead: false
        };
    },
    created() {
        this.projId = this.$route.query.projId;
        this.schoolTerms = this.$route.query.schoolTerms;
        this.id = this.$route.query.id;
        this.templateId = this.$route.query.templateId;
        this.dataType = this.$route.query.dataType;
        this.isRead = this.$route.query.isRead;
        // this.templateIdOrigin=this.$route.query.templateIdOrigin
    },
    methods: {}
};
</script>

<style lang="scss" scoped>
.sitemap {
    font-size: 12px;
    margin-bottom: 15px;
}
.edu-page-title {
    span {
        cursor: pointer;
        display: inline-block;
        padding-right: 10px;
    }
    span.active {
        color: #2876c2;
    }
}
.border-right {
    margin-right: 10px;
}
.v-modal {
    display: none !important;
}
</style>
